/**
 * Project Name:eureka-server File Name:ServiceInstance.java Package Name:org.eureka.server.entity
 * Date:2019年10月12日下午4:26:39 Copyright (c) 2019, dengqian37@126.com All Rights Reserved.
 *
 */

package org.eureka.server.entity;

/**
 * 
 * ClassName: ServiceInstance <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2019年10月15日 下午5:46:43 <br/>
 *
 * @author admin
 * @version
 * @since JDK 1.8
 */
public class ServiceInstance {

    private String name;

    private String status;

    private String serviceId;

    private String host;

    private int port;

    private int managementPort;

    public ServiceInstance(String name, String serviceId, String host, String status, int port, int managementPort) {
        this.name = name;
        this.serviceId = serviceId;
        this.host = host;
        this.status = status;
        this.port = port;
        this.managementPort = managementPort;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getManagementPort() {
        return managementPort;
    }

    public void setManagementPort(int managementPort) {
        this.managementPort = managementPort;
    }

}
